package com.design_patterns.strategy;

/**
 * @author: 李德才
 * @description:
 * @create: 2020-08-23 18:05
 **/
public class BlueSayOther implements ColorFunction<Blue> {

    @Override
    public void say(Blue blue) {
        System.err.println("我是蓝色的策略，我也可以调用蓝色原本的方法");
        blue.sayColor();
    }
}
